﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="OrganisationDetail1.ascx.cs"
    Inherits="ServicesDirectory.UserControl.OrganisationDetail1" %>
<%@ Register Src="LookupBusinessType.ascx" TagName="LookupBusinessType" TagPrefix="uc1" %>
<%@ Register Src="LookupAddress.ascx" TagName="LookupAddress" TagPrefix="uc3" %>
<%@ Register Src="ListContact.ascx" TagName="ListContact" TagPrefix="uc2" %>
<%@ Register Src="MessageBox.ascx" TagName="MessageBox" TagPrefix="uc4" %>
<div class="ManagerContentBorder">
    <div class="spaceManager">
    </div>
    <div class="titleCol1">
        Organisation Name <span class="mandatoryFields">*</span>
    </div>
    <div class="titleCol2">
        <asp:TextBox runat="server" ID="txtOrganisationName" Width="100%"></asp:TextBox>
    </div>
    <div class="titleCol1">
        Preferred Organisation
    </div>
    <div class="titleCol2">
        <asp:CheckBox runat="server" ID="chkPreferred" />
    </div>
    <div class="spaceManager">
    </div>
    <div class="titleCol1">
        Organisation Short Decriptsion<span class="mandatoryFields">*</span>
    </div>
    <div class="titleCol2">
        <asp:TextBox TextMode="MultiLine" runat="server" ID="txtDescription" Width="100%"></asp:TextBox>
    </div>
    <div style="width: 350px; float: left">
        <div class="titleCol1">
            Expression of Interrest
        </div>
        <div class="titleCol2">
            <asp:CheckBox runat="server" ID="chkExpression" AutoPostBack="true" />
        </div>
        <div class="spaceManager">
        </div>
        <div class="titleCol1">
            Type of Business <span class="mandatoryFields">*</span>
        </div>
        <div class="titleCol2">
            <asp:TextBox runat="server" ID="txtBusinessType" Width="120px"></asp:TextBox>
            <div class="lookUp">
                <asp:LinkButton runat="server" ID="lbtTypeOfBusiness" Text="Lookup"></asp:LinkButton>
            </div>
        </div>
    </div>
    <div class="spaceManager">
    </div>
    <div class="titleCol1">
        Lead Contact
    </div>
    <div class="titleCol2">
        <asp:Label CssClass="lookUpName" runat="server" Width="140px" ID="lblLeadContact"></asp:Label>
        <div class="lookUp">
            <asp:LinkButton runat="server" ID="lbtLookupContact" Text="Lookup"></asp:LinkButton>
        </div>
    </div>
    <div class="titleCol1">
        SIC Code
    </div>
    <div class="titleCol2">
        <asp:Label CssClass="SicCode" ID="lblSicCode" runat="server" Width="80px"></asp:Label>
    </div>
    <div class="spaceManager">
    </div>
    <div style="width: 345px; float: left">
        <div class="titleCol1">
            Address Line1 <span class="mandatoryFields">*</span>
        </div>
        <div class="titleCol2">
            <asp:TextBox runat="server" ID="txtAddress1" Width="99%"></asp:TextBox>
        </div>
        <div class="spaceManager">
        </div>
        <div class="titleCol1">
            Address Line2
        </div>
        <div class="titleCol2">
            <asp:TextBox runat="server" ID="txtAddress2" Width="99%"></asp:TextBox>
        </div>
    </div>
    <div class="titleCol1">
        Organisation Full Description
    </div>
    <div class="titleCol2">
        <asp:TextBox runat="server" TextMode="MultiLine" ID="txtFullDescription" Width="100%"></asp:TextBox>
    </div>
    <div class="spaceManager">
    </div>
    <div class="titleCol1">
        Address Line3
    </div>
    <div class="titleCol2">
        <asp:TextBox runat="server" ID="txtAddress3" Width="99%"></asp:TextBox>
    </div>
    <div class="titleCol1">
        PhoneNumber <span class="mandatoryFields">*</span>
    </div>
    <div class="titleCol2">
        <asp:TextBox runat="server" ID="txtPhoneNumber" Width="99%"></asp:TextBox>
    </div>
    <div class="spaceManager">
    </div>
    <div class="titleCol1">
        Post Code <span class="mandatoryFields">*</span>
    </div>
    <div class="titleCol2">
        <asp:TextBox runat="server" Width="120px" ID="txtPostCode" AutoPostBack="true"></asp:TextBox>
        <div class="lookUp">
            <asp:LinkButton runat="server" ID="lbtLookupPostCode" Text="Lookup"></asp:LinkButton>
        </div>
    </div>
    <div class="titleCol1">
        Fax
    </div>
    <div class="titleCol2">
        <asp:TextBox runat="server" ID="txtFax" Width="99%"></asp:TextBox>
    </div>
    <div class="spaceManager">
    </div>
    <div class="titleCol1">
        City/Town
    </div>
    <div class="titleCol2">
        <asp:TextBox runat="server" ID="txtCityTown" Width="99%"></asp:TextBox>
    </div>
    <div class="titleCol1">
        Email
    </div>
    <div class="titleCol2">
        <asp:TextBox runat="server" ID="txtEmail" Width="99%"></asp:TextBox>
    </div>
    <div class="spaceManager">
    </div>
    <div class="titleCol1">
        County
    </div>
    <div class="titleCol2">
        <asp:TextBox runat="server" ID="txtCounty" Width="99%"></asp:TextBox>
    </div>
    <div class="titleCol1">
        Web Address
    </div>
    <div class="titleCol2">
        <asp:TextBox runat="server" ID="txtWebAddress" Width="99%"></asp:TextBox>
    </div>
    <div class="spaceManager">
    </div>
    <div class="titleCol1">
        Nation/Country
    </div>
    <div class="titleCol2">
        <asp:TextBox runat="server" ID="txtCountry" Width="99%"></asp:TextBox>
    </div>
    <div style="width: 345px; float: left">
        <div class="titleCol1">
            Charity Number
        </div>
        <div class="titleCol2">
            <asp:TextBox runat="server" ID="txtCharity" Width="99%"></asp:TextBox>
        </div>
        <div class="spaceManager">
        </div>
        <div class="titleCol1">
            Company Number
        </div>
        <div class="titleCol2">
            <asp:TextBox runat="server" ID="txtCompany" Width="99%"></asp:TextBox>
        </div>
    </div>
    <div class="spaceManager">
    </div>
    <asp:Panel runat="server" CssClass="web_dialog" ID="pnContact" Visible="false">
        <uc2:ListContact ID="ListContact1" runat="server" />
    </asp:Panel>
    <asp:Panel runat="server" CssClass="web_dialog" ID="pnBusiness" Visible="false">
        <uc1:LookupBusinessType ID="LookupBusinessType1" runat="server" />
    </asp:Panel>
    <asp:Panel runat="server" CssClass="web_dialog" ID="pnPostCode" Visible="false">
        <uc3:LookupAddress ID="LookupAddress1" runat="server" />
    </asp:Panel>
    <asp:Panel runat="server" CssClass="web_dialog_Message" ID="pnMessage" Visible="false">
        <uc4:MessageBox ID="MessageBox1" runat="server" />
    </asp:Panel>
    <div class="spaceManager">
    </div>
    <div style="width:250px;">
        <asp:RequiredFieldValidator  ID="RequiredFieldValidator1" runat="server" ValidationGroup="error"
            ControlToValidate="txtOrganisationName" ErrorMessage="Please input the organisation name"></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ValidationGroup="error"
            runat="server" ControlToValidate="txtPhoneNumber" ErrorMessage="Please input the phone number"></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ValidationGroup="error"
            runat="server" ControlToValidate="txtAddress1" ErrorMessage="please input the Address Line 1"></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" ValidationGroup="error"
            runat="server" ControlToValidate="txtDescription" ErrorMessage="Please input the short description"></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" ValidationGroup="error"
            runat="server" ControlToValidate="txtBusinessType" ErrorMessage="please input the type of business"></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" ValidationGroup="error"
            runat="server" ControlToValidate="txtPostCode" ErrorMessage="please input the postcode"></asp:RequiredFieldValidator>
    </div>
</div>
